package com.moli.iov.open.service;

import com.moli.iov.base.model.dto.req.VehicleFenceBindingReqOpDto;
import com.moli.iov.rest.RestResponse;

/**
 * 绑定围栏
 * @author whl
 */

public interface VehicleFenceBindingService {

  /**
   * 绑定围栏op
   * @param dto
   * @return
   */
  RestResponse saveVehicleFenceBinding(VehicleFenceBindingReqOpDto dto);

  /**
   * 删除绑定op
   * @param dto
   * @return
   */
  RestResponse deleteVehicleFenceBinding(VehicleFenceBindingReqOpDto dto);

  /**
   * 删除车架号已绑定的围栏
   * @param dto
   * @return
   */
  RestResponse deleteAllVehicleFenceBinding(VehicleFenceBindingReqOpDto dto);

  /**
   * 车是否是在围栏内
   * @param dto
   * @return
   */
  RestResponse isVehicleInsideFence(VehicleFenceBindingReqOpDto dto);

  /**
   * 车是否是在围栏内
   * @param dto fenceIds  vin
   * @return
   */
  RestResponse isVehicleInsideFenceList(VehicleFenceBindingReqOpDto dto);
}
